From: Florian Müllner Date: Fri, 21 Jul 2017 23:08:44 +0000 (+0200) Subject: workspaceSwitcherPopover: Remove pointless timeout X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~168 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1095489cee1b7e7d19d68e796a0b9b76127f5e27;p=gnome-shell.git workspaceSwitcherPopover: Remove pointless timeout Ever since commit a4e53953, the popup has been hidden initially, so there's little point in setting up a timeout handler to hide it ... --- diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js index b67e5beb8..9ddd36463 100644 --- a/js/ui/workspaceSwitcherPopup.js +++ b/js/ui/workspaceSwitcherPopup.js @@ -49,9 +49,6 @@ var WorkspaceSwitcherPopup = new Lang.Class({ this._globalSignals = []; this._globalSignals.push(global.screen.connect('workspace-added', Lang.bind(this, this._redisplay))); this._globalSignals.push(global.screen.connect('workspace-removed', Lang.bind(this, this._redisplay))); - - this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout)); - GLib.Source.set_name_by_id(this._timeoutId, '[gnome-shell] this._onTimeout'); }, _getPreferredHeight : function (actor, forWidth, alloc) {